<template>
  <demo-section>
    <demo-block title="基础用法">
      <xc-button type="primary" style="margin-left: 15px" @click="handleClick"
        >按钮</xc-button
      >
    </demo-block>
  </demo-section>
</template>
<script lang="ts">
export default {
  setup() {
    const handleClick = (evt) => {
      console.log('evt: ', evt);
    };
    return {
      handleClick,
    };
  },
};
</script>
